package com.disgnpattern.learn.chapter8.simple;

import com.disgnpattern.learn.chapter8.Leifeng;

/**
 * @author dxy
 * @version 1.0
 * @date 2021/10/22 16:53
 * @decripton 志愿者
 * @mail victorydeng@163.com
 */
public class Volunteer implements Leifeng {
    @Override
    public void buyRice() {
        System.out.println("志愿者帮老人买米");
    }

    @Override
    public void wash() {
        System.out.println("志愿者帮老人洗衣服");
    }

    @Override
    public void sweep() {
        System.out.println("志愿者帮老人扫地");
    }
}
